package com.example.book.mapper;

import com.example.book.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Li_yizYa
 * Date: 2025/7/16
 * Time: 17:44
 */
@Mapper
public interface UserMapper {
    @Select("select * from user_info where delete_flag=0 and user_name=#{name}")
    UserInfo selectUser(String name);
}
